(() => {
  $.ajax({
    method: "post",
    url: "/v1/site/login",
    data: { username: 'admin', password: '123456' },
    dataType: "json",
    success: function (v) {
      document.body.innerHTML = JSON.stringify(v);
    },
    error: function () {
      alert("读取内容失败")
    }
  });
})();